package com.woniuxy.cloud.carl.marketing.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告项目
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_ad_item")
public class AdItem implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 广告项目id
     */
    @TableId(value = "ad_item_id", type = IdType.AUTO)
    private Long adItemId;

    /**
     * 门店id
     */
    private Long storeId;

    /**
     * 商品id
     */
    private Long spuId;

    /**
     * 服务类型id
     */
    private Long serviceTypeId;

    /**
     * 折扣
     */
    private Double discount;

    /**
     * 广告图
     */
    private String image;

    /**
     * 广告id
     */
    private Long adId;


}
